517e99b3cce1adfbb9d898b0c0871dff7e8e369c,src/main/java/openperipheral/integration/vanilla/AdapterWorldInventory.java,AdapterWorldInventory,pushItem,#IInventory#ForgeDirection#number#number#number#,113
Before Change
checkSlotId(thisInventory, fromSlot, "input");
checkSlotId(otherInventory, intoSlot, "output");
return InventoryUtils.moveItemInto(thisInventory, fromSlot, otherInventory, intoSlot, maxAmount, direction, true);
}
}
After Change
checkSlotId(thisInventory, fromSlot, "input");
checkSlotId(otherInventory, intoSlot, "output");
int amount = ItemDistribution.moveItemInto(thisInventory, fromSlot, otherInventory, intoSlot, maxAmount, direction, true);
if (amount > 0) {
thisInventory.markDirty();
otherInventory.markDirty();
}
return amount;
}
}